#include <stdio.h>

FILE *fp, *gp;

int main(int argc, char *argv[])
{
    int c;
    fp = fopen(argv[1], "r");
    gp = fopen(argv[2], "w");

    while ((c = getc(fp)) != EOF)
    {
        putc(c, gp);
    }
    fclose(fp);
    fclose(gp);

    return 0;
}